function [ a ] = chooseActionCorridor(Q, s,nsa,mdp)
    c = 4;
    q = zeros(1, length(mdp.actions));
    
    for i=1:length(mdp.actions)
        q(i) = Q(s,i) + c * sqrt(log10(sum(nsa(s,:)))/nsa(s,i));
    end
    
    as = find(q==max(q));
    a = as(randi(length(as)));
end